package com.example.springboot.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
public class Retur implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * id
     */
    private Integer id;

    /**
     * 图书名称
     */
    private String bookName;

    /**
     * 图书标准码
     */
    private String bookNo;

    /**
     * 用户id
     */
    private String cardNo;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 手机号
     */
    private String userPhone;

    /**
     * 创建
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate createtime;

    /**
     * updatetime
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate updatetime;

    /**
     * 借书积分
     */
    private Integer score;
    private String status;
    private Integer days;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    //应当归还日期
    private LocalDate returnDate;
    //实际归还时间
    private LocalDate realDate;




    public Retur() {}
}